﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace MvcDemo.Controllers
{
    public class TinyMCEController : Controller
    {
        //
        // GET: /TinyMCE/

        public ActionResult Like()
        {
            return View();
        }

        [HttpPost]
        [ValidateInput(false)]
        public ActionResult Like(string tex)
        {
            //this.ValidateRequest = false;
            string p = tex;
            string r= this.Request.Form["tex"];
            ViewBag.p = p;
            ViewBag.r = r;
            return View();
        }

    }
}
